﻿using System;

namespace ConsoleApp4
{
    class Program
    {
        static string teacher1 = "唐僧";
        static string teacher2 = "嫦娥";
        static void Main(string[] args)
        {
            string stu1 = "孙悟空";
            string stu2 = "猪八戒";
            string stu3 = "沙悟净";
            string stu4 = "白龙马";
            Console.WriteLine("原信息");
            Console.WriteLine("大家好，我是{0}，我的老师是{1}。", stu1, Program.teacher1);
            Console.WriteLine("大家好，我是{0}，我的老师是{1}。", stu2, Program.teacher1);
            Console.WriteLine("大家好，我是{0}，我的老师是{1}。", stu3, Program.teacher1);
            Console.WriteLine("大家好，我是{0}，我的老师是{1}。", stu4, Program.teacher1);
            Console.WriteLine("改变后");
            Console.WriteLine("大家好，我是{0}，我的老师是{1}。", stu1, Program.teacher2);
            Console.WriteLine("大家好，我是{0}，我的老师是{1}。", stu2, Program.teacher2);
            Console.WriteLine("大家好，我是{0}，我的老师是{1}。", stu3, Program.teacher2);
            Console.WriteLine("大家好，我是{0}，我的老师是{1}。", stu4, Program.teacher2);
        }
    }
}
